﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Douban.Core.Messages
{
    public interface IMessageStack
    {
        bool HasMessages();
        void PopMessage();
        int Count { get; }
        event MessageArrivedEventHandler MessageArrived;
        event MessageRetrievedEventHandler MessageRetrieved;
    }
}
